package com.chenglu.android.mine.wallet.mvp.contract;



import com.chenglu.android.bean.SmsCodeBean;
import com.chenglu.android.common.base.BaseView;
import com.chenglu.android.mine.bean.AmountTypeBean;
import com.chenglu.android.mine.bean.BeansDetailBean;
import com.chenglu.android.mine.bean.MoneyBean;
import com.chenglu.android.mine.bean.UserInfoBean;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;

/**
 * @author: lyj
 * @Created by Copyright 2023/7/27 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 *
 */
public interface WalletContract {

    /**
     *
     * @description model
     *
     */

    public interface WalletModel{



        Observable<AmountTypeBean> getAmountTypeList(String token, Map<String, String> map);

        Observable<MoneyBean> getMoneyDetails(String token);




    }


    /**
     *
     * @description view
     *
     */

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void dismissLoading();

        @Override
        void onEmpty(Object tag);

        @Override
        void onError(String errMessage);


        void getAmountTypeList(AmountTypeBean bean);


        void getMoneyDetails(MoneyBean bean);



    }

    /**
     *
     * @description presenter
     *
     */

    interface WalletPresenter {



        void getMoneyDetails(String token);

        void getAmountTypeList(String token, Map<String, String> map);




    }
}